package com.wx.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wx.pojo.Advertisement;
import com.wx.pojo.Commodity;

public interface AdvertisementMapper extends BaseMapper<Advertisement>{
	
	//根据id查询商品
	public List<Commodity> findCommoditysByIds(@Param("ids")Integer[] ids);
	//根据广告id查询商品id
	public String findIdsByAdvId(Integer id);
	
}
